package com.wing.portal.aggregation;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;
/**
 * 
 * @author wyf
 * 
 */
public class AbstractFragmentContainer extends AbstractFragment {
	private ArrayList children = new ArrayList();

	public AbstractFragmentContainer(Map param) {
		super(param);

	}
	public AbstractFragmentContainer(Map param, Fragment parent) {
		super(param, parent);
	}
	@Override
	public Collection getChildFragments() {
		 return children;
	}

	@Override
	public void postService() {
	}

	@Override
	public void preService() {
	}

	@Override
	public void addChild(Fragment child) {
		 children.add(child);
	}

}
